find the slope of a line given two points